﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navigation;

namespace IkeCode.WP7.Toolkit.Base.Navigation
{
    /// <summary>
    /// Interface for App Navigation
    /// </summary>
    public interface INavigationService
    {
        /// <summary>
        /// Event fired when app is navigating between pages
        /// </summary>
        event NavigatingCancelEventHandler Navigating;

        /// <summary>
        /// Navigate to Page Uri
        /// </summary>
        /// <param name="pageUri">Page Uri</param>
        void NavigateTo(Uri pageUri);

        /// <summary>
        /// Go back to last page
        /// </summary>
        void GoBack();
    }
}
